<style scoped>



</style>

<template>
  
  <el-row>
   <el-col >
   <el-button type="primary" @click="onSubmit" size="small">添加分类信息</el-button>
   <el-table
      :data="tableData"
      style="width: 100%">
      <el-table-column
        prop="classname"
        label="分类名称"
        width="200">
      </el-table-column>
      <el-table-column
        prop="classId"
        label="分类ID号"
        width="200">
      </el-table-column>
      <el-table-column
        prop="sid"
        label="级别"
        width="200">
      </el-table-column>
      <el-table-column
      fixed="right"
      label="操作"
      >
      <template slot-scope="scope">
        <el-button type="text" size="small">编辑</el-button>
      </template>
    </el-table-column>
    </el-table>
   </el-col>

   </el-row>
  
</template>

<script>
import instance from "../api";



export default {
 
  data() {
    return {
          tableData: [{
            classname: '海川新盟',
            classId: '分类ID号',
            sid: '1'
          }, {
            classname: '河北商品',
            classId: 'sdfsdfsdsdfsfdsf',
            sid: '1'
          }, {
            classname: '寿光果蔬',
            classId: '王小虎',
            sid: '1'
          }, {
            classname: '遵义指南针',
            classId: '王小虎',
            sid: '1'
          }]
        }
  },
  methods: {
    onSubmit(){}
    
  },
  created() {
  
  }
}
</script>